package org.yangspring.samples.mvc.domainOracle;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.swing.*;

/**
 * Created by franklin on 6/24/2017.
 */


@Entity
@Table(schema = "SYS", name = "DBA_TABLES")
public class DBATables {
    @Id
    @Column(name = "TABLE_NAME")
    private String tableName;
    @Column(name = "OWNER")
    private String owner;
    @Column(name = "TABLESPACE_NAME")
    private String tbspcName;
    @Column(name = "STATUS")
    private String status;
    @Column(name = "DEGREE")
    private String degree;
    @Column(name = "INSTANCES")
    private String instances;
    @Column(name = "CACHE")
    private String cache;
    @Column(name = "TABLE_LOCK")
    private String tableLock;
    @Column(name = "GLOBAL_STATS")
    private String globalStats;
    @Column(name = "USER_STATS")
    private String userStats;

    public void setOwner(String owner){
        this.owner = owner;
    }
    public String getOwner(){
        return this.owner;
    }
    public void setTableName(String tableName){
        this.tableName = tableName;
    }
    public String getTableName(){
        return this.tableName;
    }
    public void setTbspcName(String tbspcName){
        this.tbspcName = tbspcName;
    }
    public String getTbspcName(){
        return this.tbspcName;
    }
    public void setStatus(String status){
        this.status = status;
    }
    public String getStatus(){
        return this.status;
    }
    public void setDegree(String degree){
        this.degree = degree;
    }
    public String getDegree(){
        return this.degree;
    }
    public void setInstances(String instances){
        this.instances =instances;
    }
    public String getInstances(){
        return this.instances;
    }
    public void setCache(String cache){
        this.cache = cache;
    }
    public String getCache(){
        return this.cache;
    }
    public void setTableLock(String tableLock){
        this.tableLock = tableLock;
    }
    public String getTableLock(){
        return this.tableLock;
    }
    public void setGlobalStats(String globalStats){
        this.globalStats = globalStats;
    }
    public String getGlobalStats(){
        return this.globalStats;
    }
    public void setUserStats(String userStats){
        this.userStats = userStats;
    }
    public String getUserStats(){
        return this.userStats;
    }

}
